package com.atguigu.tingshu.payment.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/***
 * 支付接口
 */
@FeignClient(value = "service-payment",path = "/client/pay/payment")
public interface PaymentFeignClient {

    @GetMapping("/getPayInfoFromWx")
    String getPayInfoFromWx(@RequestParam Map<String,String> params);
}
